package com.tpp.comm.client;

import com.tpp.comm.pojo.TpOrder;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface OrderClient {

    @RequestMapping("/orderClient/findByOrderNo")
    TpOrder findByOrderNo(@RequestParam("orderNo") String orderNo);

    @RequestMapping("/orderClient/updateOrderStatus")
    void updateOrderStatus(@RequestParam("orderNo") String orderNo,@RequestParam("orderType") int orderType);

}
